<template>
  <div>
    <van-nav-bar title="消息" left-arrow @click-left="$router.go(-1)"></van-nav-bar>
    <main>
      <!-- <van-panel title="交易提醒 " status="2019/08/18">
        <div>desc="张益达已付款至你的支付宝账户，请您及时查收确认交易结果"</div>
      </van-panel>-->
      <msg :msgData="msgData" @click.native="$router.push({ path: '/newsdetails'})" />
      <msg :msgData="msgData" />
    </main>
  </div>
</template>

<script>
import msg from "../../components/msg.vue";
export default {
  name: "",
  components: {
    msg
  },
  data() {
    return {
      msgData: {
        title: "交易提醒",
        date: "2019/08/18",
        content: "张益达已付款至你的支付宝账户，请您及时查收确认交易结果"
      }
    };
  },

  methods: {}
};
</script>

<style lang="less" scoped>
main {
  padding-top: 20px;
}
</style>
